package com.situ.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.situ.mall.pojo.Permission;
import com.situ.mall.pojo.query.PermissionQuery;
import com.situ.mall.util.PageResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Gao
 * @since 2025-06-26
 */
public interface IPermissionService extends IService<Permission> {
    PageResult list(PermissionQuery permissionQuery);

    List<Permission> selectByRole(Integer role);
}
